package mongohelper;

import mongohelper.exceptions.MongoTranslationException;

public interface _MongoFieldEncryptor<T> {

	String encrypt(T field) throws MongoTranslationException;

	T decrypt(String encrypted) throws MongoTranslationException;

}
